package com.example.taobaounion3.utils;

import android.widget.Toast;

import com.example.taobaounion3.base.BaseApplication;

public class ToastUtil {
    private static Toast sToast;
    public static void showToast(String tips){
        if (sToast==null) {
            sToast=Toast.makeText(BaseApplication.getAppContext(),tips,Toast.LENGTH_LONG);
        }else {
            sToast.setText(tips);
        }

        sToast.show();
    }
}
